import axios from '@/libs/api.request';
import qs from 'qs';

export const qysHeaders = () => {
  const data = {};
  return axios.request({
    url: '/dict/qysHeaders',
    method: 'POST',
    data: data
  });
};

export const batchDownload = (data) => {
  return axios.request({
    url: '/dict/batchDownload',
    method: 'POST',
    data: qs.stringify(data),
    responseType: 'arraybuffer'
  });
};
export const getPrintUrl = (data) => {
  return axios.request({
    url: '/dict/efprinturl',
    method: 'POST',
    data: qs.stringify(data)

  });
};
